<?php

class blogger extends feed {
	
	static function getPostList($blogId) {
		
		$result = Array();
		
		// get feed
		$url = 'http://www.blogger.com/feeds/' . $blogId . '/posts/default';
		$xml = self::loadFeed($url, config::getInstance()->blogger_ttl);
		
		// loop entries
		foreach ($xml->entry as $entry) {
			$result[] = $entry;
		}

		return $result;		
	}
	
}

?>